package com.hao.tool.web.component.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.jx
 * @date 2020-06-29 08:48
 */
@Getter
@Setter
public class ErrorRepException extends RuntimeException {
    private ErrorEnum errorEnum;
    private String message;

    public ErrorRepException(ErrorEnum errorEnum, String message) {
        this.message = message;
        this.errorEnum = errorEnum;
    }
}
